import type {ProgramEls, ProgramRender} from './program-render.ts';
import type {FormEls, FormRender} from './form-render.ts';
import type {TableEls, TableRender} from './table-render.ts';
import type {CustomerEls, CustomerRender} from './customer-render.ts';

/**
 * 渲染器类型
 */
export type RenderType = 'form' | 'table' | 'program' | 'customer';

/**
 * 导出渲染器相关类型
 */
export type {ProgramEls, ProgramRender, FormEls, FormRender, TableEls, TableRender, CustomerEls, CustomerRender};

/**
 * 渲染器元素类型联合
 */
export type RenderEls<Prop> = ProgramEls<Prop> | FormEls<Prop> | TableEls<Prop> | CustomerEls<Prop>;
